Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: IsUIdocOpen = TRUE ???
~Bill Quetfoochekakol 24.Jan.04 11:24 AM a Web browser
Applications Development 6.0.3 All Platforms


I have seen this behaviour in R5 databases.

There is a serious flaw somewhere in the notesUIWorkspace.editDocument(True, doc)

The "old version" of the backend document being edited is somehow cached in memory in the view context. Possibly being held alive by a reference to the document, a parent notesSession or NotesUIWorkspace in the view Globals or elsewhere.

Any future reference to this document will return the cached document, with the previous values. This document should have been garbage collected thus forcing the document to be re-fetched from the database.

I have experienced RBODs (Red Box Of Death's) being caused by this, too.

One workaround that seems to consistently fix this problem is to remove the memory reference to the notesDocumemnt after the call to editDocument, like so:

Dim ws as New NotesUIWorkspace()
Dim uiDoc as NotesUIDocument
Dim doc as NotesDocument
...
set uiDoc = ws.editDocument(True, doc)
Delete doc ' forces garbage collection of doc object


Try it and let me know whether this clears the issue.




Is Lotus Notes SCHIZOPHRENIC? (~Helga Quetfree... 23.Jan.04)
. . I'll take a stab at this... (~Emile Nonboosi... 23.Jan.04)
. . . . RE: I'll take a stab at this... (~Helga Quetfree... 23.Jan.04)
. . RE: Lotus Notes SCHIZOFRENY (~Tanita Kihipib... 23.Jan.04)
. . . . RE: Lotus Notes SCHIZOFRENY (~Helga Quetfree... 24.Jan.04)
. . IsUIdocOpen = TRUE ??? (~Helga Quetfree... 24.Jan.04)
. . . . RE: IsUIdocOpen = TRUE ??? (~Bill Quetfooch... 24.Jan.04)
. . . . . . Delete object did not help! (~Helga Quetfree... 24.Jan.04)
. . . . . . . . What about other object references,... (~Bill Quetfooch... 24.Jan.04)
. . . . . . . . . . Problem exists in any view (~Helga Quetfree... 25.Jan.04)
. . . . . . . . . . . . RE: Problem exists in any view (~Bill Quetfooch... 25.Jan.04)
. . . . . . . . RE: Delete object did not help! (~Joseph Bubfree... 24.Jan.04)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS